import request from '@/axios/request'
import url from '@/axios/url'
const { mesUrl, adminUrl, wmsUrl } = url()

// 获取数据字典
export function getDictList() {
  return request({
    url: `${mesUrl}mesTmRecheckGenerate/list`,
    method: "get",
  });
}


export function  partsList(){
  return request({
    url: `${mesUrl}reinspection/parts/integration`,
    method: "get",
  });
}


export function queryIdGroup(id = ''){
  return request({
    url: `${mesUrl}mesTmRecheckGenerate/queryIdGroup/${id}`,
    method: "get",
  });
}


export function add(data = {}){
  return request({
    url: `${mesUrl}mesTmRecheckGenerate/c`,
    method: "post",
    data
  });
}
